home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Development Libraries / SGI IRIX 6.2 Development Libraries.iso / dist / gl_dev.idb / usr / gfx / arch / IP22NG1 / gl / feed.h.z / feed.h
Encoding:
C/C++ Source or Header  |  1996-03-15  |  1.6 KB  |  47 lines

  1. #ifndef __GL_FEED_H__
  2. #define __GL_FEED_H__
  3. /**************************************************************************
  4.  *                                      *
  5.  *          Copyright (C) 1988, Silicon Graphics, Inc.          *
  6.  *                                      *
  7.  *  These coded instructions, statements, and computer programs  contain  *
  8.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  9.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  10.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  11.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  12.  *                                      *
  13.  **************************************************************************/
  14.  
  15. /*
  16.  *  feed.h - This file contains the product specific defines for feedback
  17.  *         mode.  The Personal Iris returns 11 different feedback tokens
  18.  *         and 3 data formats. The feedback buffer contains the floating
  19.  *         point token followed by floating point data.
  20.  *
  21.  *         FB_POINT, FB_MOVE, FB_DRAW all return 6 floats (x,y,z,r,g,b)
  22.  *         in the data buffer. FB_POLYGON returns a count of the number
  23.  *         of floats and then sets of 6 floats for each vertex.
  24.  *
  25.  *         FB_CMOV returns 3 floats (x,y,z).
  26.  *
  27.  *         FB_PASSTHROUGH, FB_ZBUFFER, FB_LINESTYLE, FB_SETPATTERN,
  28.  *         FB_LINEWIDTH, and FB_LSREPEAT all return 1 float.
  29.  *
  30.  *  $Revision: 1.1 $
  31.  */
  32.  
  33. /* defines for PI raw feedback */
  34. #define FB_POINT    95.0
  35. #define FB_MOVE        103.0
  36. #define FB_DRAW        113.0
  37. #define FB_POLYGON    72.0
  38. #define FB_CMOV        163.0
  39. #define FB_PASSTHROUGH    176.0
  40. #define FB_ZBUFFER    46.0
  41. #define FB_LINESTYLE    76.0
  42. #define FB_SETPATTERN    133.0
  43. #define FB_LINEWIDTH    77.0
  44. #define FB_LSREPEAT     90.0
  45.  
  46. #endif /* !__GL_FEED_H__ */
  47.